package StudyCode.summary.myfile;

import java.io.File;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CreateDirectory {
	public static void main(String[] args) {
		File dir = new File("E:\\Copy\\1");
		boolean isDirectoryCreated = dir.mkdir();
		if (isDirectoryCreated) {
			System.out.println(dir + " 创建成功.");
		} else {
			System.out.println(dir + " 创建失败.");
		}
	}
}
